﻿<phone:PhoneApplicationPage 
        
    xmlns:Controls="clr-namespace:Techdays2013.Controls" 
    x:Class="Techdays2013.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    toolkit:TiltEffect.IsTiltEnabled="True" 
    shell:SystemTray.IsVisible="True"
    
    xmlns:behaviors="clr-namespace:SamuelBlanchard.Accessibility" 
    behaviors:SpeechBehavior.CanSpeak="True"
    behaviors:SpeechBehavior.Gender="Female"
    behaviors:SpeechBehavior.Language="fr-FR"
    
    >

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">

            <ScrollViewer ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto">
                <StackPanel Margin="6">

                    <Border Height="173" VerticalAlignment="Top"  Background="Magenta" Margin="6">
                        <StackPanel Margin="12" VerticalAlignment="Center">
                            <TextBlock Text="techdays" behaviors:SpeechBehavior.Language="en-US" FontSize="50" FontFamily="Segoe WP light" HorizontalAlignment="Center" Margin="12,0"/>
                            <TextBlock FontSize="30" HorizontalAlignment="Center" FontWeight="Bold" Text="12,13,14"/>
                            <TextBlock FontSize="25" HorizontalAlignment="Center" Text="février 2013"/>
                        </StackPanel>
                    </Border>

                    <Border Height="173" VerticalAlignment="Top"  Background="DodgerBlue" Margin="6">
                        <StackPanel Margin="12" VerticalAlignment="Center">
                            <TextBlock Text="Géolocalisation+Speech+Intégration" FontSize="27" FontFamily="Segoe WP light" HorizontalAlignment="Center" Margin="12,0"/>
                            <TextBlock FontSize="25" TextWrapping="Wrap" TextAlignment="Center" Width="350" HorizontalAlignment="Center" FontWeight="Bold" Text="Tirer parti des nouveautés de Windows Phone 8"/>
                        </StackPanel>
                    </Border>

                    <Grid>
                        <toolkit:WrapPanel ItemWidth="234">
                            <Controls:Tile Background="Red"  IconSource="/Assets/Icons/Tube.png" Text="Controls" Click="Tile_Click_Controls" />
                            <Controls:Tile Background="DarkGray"  IconSource="/Assets/Icons/Task.png" Text="Launchers" Click="Tile_Click_Launchers" />
                            <Controls:Tile Background="DarkViolet" IconSource="/Assets/Icons/Speech.png" Text="TextToSpeech" Click="Tile_Click_TextToSpeech" />
                            <Controls:Tile Background="Orange" IconSource="/Assets/Icons/Record.png" Text="Recognition" Click="Tile_Click_RecognitionSpeech" />
                            <Controls:Tile Background="Green" IconSource="/Assets/Icons/Mobile.png" Text="App-to-App" Click="Tile_Click_AppToApp" />
                        </toolkit:WrapPanel>
                    </Grid>
                </StackPanel>
            </ScrollViewer>
            
            <Grid x:Name="GridFade" Background="Black" Visibility="Collapsed">
            </Grid>
        
    </Grid>

</phone:PhoneApplicationPage>